Service Manager

Home 

This is the latest version of the help for Ivanti Service Manager 2018. If you cannot find some of the features described in the help, you may be using an older version of the application. To upgrade the application, click here.
To view the help for the latest version of Service Manager, click here

Request Form Examples

Auto-Fill Employee Address Information

Specifying Control Visibility

Specifying a Unique ID for a Control

Making a Control Read-Only

Specifying a Required Field

Specifying a Field Type (Text or Number) and Numeric Constraints

Specifying Field Options

Specifying an Advanced Search Option

Specifying Response Value Boundaries

Adding a Dividing Line Between Sections

Displaying Categories on Separate Form Pages

Indenting a Field

Allowing Users to Attach Files

Auto-Fill Employee Address Information

This example illustrates the use of default values to auto-fill address information for an employee using values that reference the Employee business object from a validation list.

1.Create a request form with employee address information that includes the following fields:

A drop-down list control to select an employee name from a pick list.

A text field that shows the email address of the selected employee.

A text field that shows the street address of the selected employee.

A text field that shows the city of the selected employee.

A text field that shows the state of the selected employee.

Address Change Request Form

2.Click the edit icon next to the Employee Name control. The Item Configuration Editor appears.

3.Expand Pick List, then enter your parameters.

Sample Employee Validation List

Field Description
Validation List Check this option.
Validation List to Use Choose Employees or EmployeeByDepartment from the drop-down list.
Title Field Choose Display Name from the drop-down list.
Under Cascading Validation Definition
Department Choose Department from the drop-down list.
Field Choose Department Name from the drop-down list.

4.Click OK. The window closes.

5.Click the edit icon next to the Employee Email control. The Item Configuration Editor appears.

6.Expand Default Value, then enter your parameters.

Sample Email Employee Edit

Field Description
Expression Check this option.
Triggered by Choose Employee Name from the drop-down list.
Expression field

Enter the following into this field:

[Frs_CompositeContract_Contact#.ServiceReqAssociatedCustomer]PrimaryEmail

7.Click OK. The window closes.

8.Repeat the last procedure to configure the remaining text controls (You may want to set the text controls as read-only so that the default values cannot be overwritten.):

Address

City

State

When you create a record from the Service Catalog and specify the employee name, the address information is automatically filled in.

Specifying Control Visibility

You can specify whether a control is visible all of the time, none of the time, or part of the time based on an expression. You can specify that a field is not visible when you do not require user input, but you need to use the field for workflow fulfillment.

1.Within the Item Configuration Editor, expand the Visible area.

2.Choose an option.

Option Description
Yes The field is always visible.
No The field is never visible (that is, it is not used on the form). This setting is typically used for test or temporary fields that should not be shown to end users.
Expression

Enter an expression or choose an object from the field list to use as the basis for dynamically setting visibility. For example, to use the Computer Type field of the current form to control whether the current control is visible, navigate to This Form > Computer Type in the navigation area and double-click Computer Type. Edit the resulting expression so that it evaluates to true or false as necessary for your requirements. The control is visible when the expression evaluates to true.

3.Click OK. The window closes.

Specifying a Unique ID for a Control

To specify a unique ID for a control so that the control can be referenced programmatically, within the Item Configuration Editor, expand the Properties area and enter a unique ID in the Unique ID field. Click OK.

Sample Unique ID

The system automatically generates a unique ID for all form controls. The configuration described here changes the generated value to a value of your choice. Any values that you specify must be unique within the request form.

Making a Control Read-Only

To make a control read-only, within the Item Configuration Editor, expand the Read-Only area and select Yes. Click OK.

Read-Only Option

This control is often used with a default value based on an expression. For example, you can configure a control as follows so that it is read-only and contains the cost center information for a user by default:

Control type: Text field

Read-Only: Yes

Default Value: Expression

Triggered by: a drop-down list field called recipient

Expression: $([Profile#Employee.]CostCentre)

Specifying a Required Field

You can specify whether a field enforces required input always, never, or sometimes based on an expression.

1.Within the Item Configuration Editor, expand the Required area.

2.Choose an option.

Option Description
Yes The field is always required.
No The field is never required.
Expression

Enter an expression or choose an object from the field list to use as the basis for dynamically setting requirements.

3.Click OK. The window closes.

Specifying a Field Type (Text or Number) and Numeric Constraints

When you use the text, number, or money field control, you must specify whether the field data type is alpha-numeric, numeric only, or money. For numeric fields, you can optionally set upper and lower boundaries for responses.

1.Within the Item Configuration Editor for a text, number, or mask control, expand the Field Options area.

Field Type Control

2.Choose an option from the Type drop-down list.

Option Description
Alpha-numeric Formats text fields.
Number

Formats generic number fields. For Enter minimum and maximum value constraints for this field, enter numbers to constrain the Minimum and Maximum field response values with the following results:

The value entered in the Minimum field is displayed as the default value.

A value is now required and must be entered by a user (or the default value is used).

The value entered must conform to and fall within the Minimum and Maximum settings.

Money Formats fields containing currency values. The Minimum and Maximum fields appear. Enter numbers to constrain response values (optional).
Phone Number Automatically formats numbers to phone numbers, such as +1-408-555-1212.
Social Security Number Automatically formats numbers to social security numbers, such as 123-45-6789
Email Allows users to enter an email address, such as [email protected]
MAC Address Allows users to enter a MAC address, such as 00:1C:B3:09:85:15.
URL Allows users to enter a URL address, such as http://www.ivanti.com.

3.Click OK. The window closes.

Specifying Field Options

You can specify a number of field options including adding an advanced search option to a field.

To specify the field width, and maximum number of characters allowed in character-based fields, do the following:

1.Within the Item Configuration Editor, expand the Field Options area.

2.In the Field Width field, specify a maximum width for the field in pixels.

3.In the Max Length field, set a character value up to 3000. In some cases the maximum number of characters will depend on the field for which this limit is specified, and the field width that was set.

4.Some controls (such as text area) also let you specify a maximum field height (measured in characters). If a Field Height field displays, specify a maximum character value between 50 and 3000. The system warns the user when the number of characters entered in the text field exceeds the specified settings.

5.Some controls allow you to specify the type of characters that can be entered. Select from the choices available in the list.

Field Options - Text Area Control

6.Click OK. The window closes.

Specifying an Advanced Search Option

You can specify an advanced search option from the Field Options control for any drop-down field. Specifying this option inserts a search icon into a field. Clicking the icon opens a window with the available search criteria. You can also specify the minimum number of characters that need to be entered before the search is activated.

Select one of the following:

With advanced search window: A checkbox to implement the search and display a search icon in the field.

Minimum Type Ahead chars: A checkbox to specify the minimum number of characters that must be entered before the search is available. Setting the minimum character entry will also help to restrict the search results.

The following conditions must be met before this option is available and usable.

The Pick List: Validation list option within the Item Configuration Editor must be configured.

A specific validation list must be selected for the Validation list to use option. The search can only be run against the selected validation list.

Optionally, the drop-down may be dependent on data in another field before the search is activated.

For example: If the Employee Name field is dependent on a prior Department field, then you must select a department before the validation list to match an employee is available. In this instance the field may appear in red until the appropriate selections have been made.

Specifying Response Value Boundaries

To set upper and lower boundaries for date, time, DateTime, and text, money, and mask fields, do the following:

1.Within the Item Configuration Editor of a date, time, DateTime, text, money, or mask field, expand the Field Options area.

Sample Date Control Boundaries

2.Expand the Lower bound area.

3.In the first field, select None to specify no boundary or >= to set a lower boundary.

If you specified >= in the first field, go to the second field and select a value. Items in parentheses are date and time functions. Items not in parentheses are other fields on the form. Other fields are displayed only if they match the current field type. For example, if a date field is being configured, only other date fields are included in the list.

For DateTime fields only, you can specify the time component for a range. For date fields and time fields, you can set only date and time, respectively.

4.Repeat for the Upper bound area.

5.Click OK. The window closes.

Adding a Dividing Line Between Sections

To insert a dividing line beneath a category heading:

1.Within the Item Configuration Editor for a category heading control, expand the Field Options area.

Sample Category Heading Control

2.Check Show a dividing line with this category section.

3.Click OK. The window closes.

Displaying Categories on Separate Form Pages

To view a category within its own page in a form, do the following:

1.Check Create a new page with the category.

2.Click OK.

A request form with navigation controls is created.

Indenting a Field

To indent a field, do the following:

1.In the item Configuration Editor, expand the Field Options area.

2.Check Indent this field on the form.

3.Click OK.

Allowing Users to Attach Files

To provide a form control that allows users to attach files when filling out a Service Catalog form:

1.In the item Configuration Editor of an Upload attachments control, expand the Field Options area.

Upload Attachments Control

2.Specify the maximum attachment file size, number of files, and allowed file types.

3.Optional. Enter a description to show in the form.

4.To allow pasting attachments from the clipboard, check Can copy data from clipboard.

Depending on how you configure the control, it will be similar when shown in a Service Catalog form.

Control

Configurable Items

Category Heading

Adds a dividing line.

Displays the category on a separate form page (that is, create a multi-page form).

Check Box

Adds a default value.

Adds a price.

Sets the visibility of the control (that is, make the control visible or invisible based on certain conditions).

Requires a response.

Makes the control read-only.

Text or Number or Mask Field

Adds a default value.

Specifies numeric or alphanumeric response data type.

Sets the visibility of the control.

Requires a response.

Makes the control read-only.

Text Area

Adds a default value.

Sets the visibility of the control.

Requires a response.

Makes the control read-only.

drop-down List

Adds a default value.

Adds a pick list.

Sets the visibility of the control.

Requires a response.

Makes the control read-only.

Date Field

Adds a default value.

Adds upper and lower value boundaries.

Sets the visibility of the control.

Requires a response.

Makes the control read-only.

DateTime Field

Adds a default value.

Adds upper and lower value boundaries.

Sets the visibility of the control.

Requires a response.

Makes the control read-only.

Time Field

Adds a default value.

Adds upper and lower value boundaries.

Sets the visibility of the control.

Requires a response.

Makes the control read-only.

Image

Selects the image file. To make an image file available for selection, you must first upload it as an attachment through the Attachments tab in the Form Designer Tools pane.

Specifies image size.

Adds a border.

Sets the visibility of the control.

Requires a response.

Makes the control read-only.

5.Optional. To change to a two- or three-column layout, click Choose a style and select a new layout. By default, forms use a single-column layout.

6.After completing a draft of the form, click Preview to see how it will look when a user in the Self-Service Portal opens it in the Service Catalog.

7.To make further changes, repeat any of the steps in this section.

8.Click Next or click the 3. Plan Request Fulfillment tab to go to configuring the request offering.

Entering a Default Value Based on Trigger Conditions

To provide a default value for a field, for example entering data when a checkbox is checked, you can edit the request offering form as follows:

1.Log in to the application as a service owner.

2.Open the Request Offerings workspace.

3.Open an offering with a checkbox that requires a default response when the box is checked.

4.Insert a text, number, or mask field under the checkbox control by dragging it to the layout.

5.Click the edit icon to configure the text field in the Item Configuration Editor as follows:

a. Click Default Value and select Expression .
b. At the Triggered by drop-down list, select the name of the checkbox.
c. Enter an expression or text (delimited by " ") into the field.
d. Click Next to move to the next dialog box, or Save or Save and Exit to save the change.

Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other